/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.lczyfy.idcp.modules.crawl.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfy.idcp.common.persistence.Page;
import com.lczyfy.idcp.common.service.CrudService;
import com.lczyfy.idcp.modules.crawl.entity.CrawlLog;
import com.lczyfy.idcp.modules.crawl.dao.CrawlLogDao;

/**
 * 日志记录Service
 * @author cw
 * @version 2018-07-20
 */
@Service
@Transactional(readOnly = true)
public class CrawlLogService extends CrudService<CrawlLogDao, CrawlLog> {

	public CrawlLog get(String id) {
		return super.get(id);
	}
	
	public List<CrawlLog> findList(CrawlLog crawlLog) {
		return super.findList(crawlLog);
	}
	
	public Page<CrawlLog> findPage(Page<CrawlLog> page, CrawlLog crawlLog) {
		return super.findPage(page, crawlLog);
	}
	
	@Transactional(readOnly = false)
	public void save(CrawlLog crawlLog) {
		super.save(crawlLog);
	}
	
	@Transactional(readOnly = false)
	public void delete(CrawlLog crawlLog) {
		super.delete(crawlLog);
	}
	
}